package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;
@JsonIgnoreProperties("handler")
@Getter@Setter
//攻略点评
public class StrategyComment extends BaseDomain{

    private User author;//点评者

    private Integer grade = 0;//评论星级

    private String content;//评论内容

    private List<StrategyCommentImg> images;//所有图片

    private List<Label> labels;//所有标签
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createDate;

    private Strategy strategy;//大攻略
}